Arexx (44/45)

From:Craig Hutchison
Date:18 Sep 2001 at 19:27:21
Subject:Re: PutClient trouble

G'day Alexander,

On 18-Sep-01, you wrote:

FA> I use your Miami-Arexx code and it works fine. But I have still
trouble
FA> with putclient.

>>> Address Command 'C:PutClient L='||LocOut||'
>> '||UserName||':'||PassWd||'@'||Site||'/'||RemOut||'/'file

FA>> The double pipe operator means absolute (as opposed to implied)
FA>> concatenation. IE. "say 'A''B'" gets you the output "AB" but
FA>> might also get you "A B", whereas "say 'A'||'B'" will always
FA>> return "AB". It's just a way of making sure of the result.

FA> Ah, I see. So I don't need COMPRESS() all the time :)

No.

>> The 'L=' section designates the local directory in which the outbound
>> file is stored. For your own needs, using 'L=RAM:' would be
>> sufficient, assuming the file to be uploaded always existed in the RAM
>> Disk.

FA> I can't get that thing to work. As soon as try to add the local path
I
FA> get a syntax error from putclient. (Inside and outside of AREXX) I guess
FA> putclient is confused by the ":" after RAM. How does putclient know
FA> where the path ends and were the username begins? Any idea?

In my example above, YAM has reflowed the line at what was a space
in my script.
It should look like "L='||LocOut||' '||Username||':"...

Cache Ya,
Craig.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get VeriSign's FREE GUIDE: "Securing Your Web Site for Business." Learn about using SSL for serious online security. Click Here!
http://us.click.yahoo.com/LgMkJD/I56CAA/yigFAA/saFolB/TM
---------------------------------------------------------------------~->

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/